does anyone know how to dial an elastic
# general-english
s
does anyone know how to dial an elastic SIP trunk from TWIML?
k
Use Twilio’s Programmable Voice with a SIP Domain and route calls via sip:username@your-sip-domain.sip.twilio.com.
s
@User is username my phone number in twilio? and is the post @ section my termination uri? my termination is vapi-sip-xxx-trunk.ptsn.twilio.com my origination is: sip:+1XXXXXXXX@sip.vapi.ai I didn't include: "outboundAuthenticationPlan": { "authUsername": "YOUR_SIP_NUMBER", "authPassword": "YOUR_SIP_PASSWORD" } In my create phone number request. My trunk has only IP Access Control Lists in the termination section as per docs When I had a candian (access to number). It says the customer you called is not available and then hung up. In Twilio it says both the parent and child call failed. My TwiML bin post request is: sip:+1778XXXXXXX@vapi-sip-xxx-trunk.ptsn.twilio.com
* Nothing appear s in my VAPI call logs
I've just had someone test with the traditional add number to the trunk method and it works, so it must be TWIML Code related